<?php
/**
 * CreateUser: zlh
 * CreateTime: 2022/1/24 9:56
 * Remark:
 */

namespace App\Http\Requests\Company;

use App\Http\Requests\BaseRequests;

class ListCompanyGet extends BaseRequests
{

    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'page' => "required",
            'page_size' => "required",
        ];
    }

    public function messages()
    {
        return [
            'page_size.required' => "分页参数错误",
            'page.required' => "分页参数错误",
        ];
    }


}